<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
	<title>Menus</title>
	<meta http-equiv="content-type" content='text/html; charset=utf-8' />
	<link rel="stylesheet" type="text/css" href="../styles/help.css" />
</head>

<body>
	<h1>Text formatting</h1>

	<h2>Syntax:</h2>

	<p class="block-row-name">%u               </p><p class="block-row-description"><u>U</u>ser name                                              </p><br/>
	<p class="block-row-name">%p               </p><p class="block-row-description">Shell <u>p</u>rocess ID                                       </p><br/>
	<p class="block-row-name">%P               </p><p class="block-row-description">Last <u>p</u>rocess ID attached to the console                </p><br/>
	<p class="block-row-name">%n               </p><p class="block-row-description">Tab <u>n</u>umber (the position in tabs bar)                  </p><br/>
	<p class="block-row-name">%i               </p><p class="block-row-description">Tab <u>i</u>ndex (the position in settings)                   </p><br/>
	<p class="block-row-name">%m               </p><p class="block-row-description"><u>M</u>ain window title (defined in settings or -w parameter)</p><br/>
	<p class="block-row-name">%t               </p><p class="block-row-description"><u>T</u>ab title (defined in settings)                        </p><br/>
	<p class="block-row-name">%s               </p><p class="block-row-description"><u>S</u>hell title                                            </p><br/>
	<p class="block-row-name">%d               </p><p class="block-row-description">Current <u>d</u>irectory                                      </p><br/>
	<p class="block-row-name">%D               </p><p class="block-row-description">Current <u>d</u>irectory leaf                                 </p><br/>
	<p class="block-row-name">%%               </p><p class="block-row-description">%                                                             </p><br/>
	<p class="block-row-name">%?               </p><p class="block-row-description">?                                                             </p><br/>
	<p class="block-row-name">%(               </p><p class="block-row-description">(                                                             </p><br/>
	<p class="block-row-name">%)               </p><p class="block-row-description">)                                                             </p><br/>
	<p class="block-row-name">%:               </p><p class="block-row-description">:                                                             </p><br/>
	<p class="block-row-name">%A               </p><p class="block-row-description">y if running as <u>a</u>dministrator                          </p><br/>
	<p class="block-row-name">%U               </p><p class="block-row-description">y if running as <u>u</u>ser                                   </p><br/>
	<p class="block-row-name">%N               </p><p class="block-row-description">y if running as user (<u>n</u>et only)                        </p><br/>
	<p class="block-row-name">?x( ... )        </p><p class="block-row-description">if x is defined then ... ; x can be u, m, t, s, d, D, A, U or N         </p><br/>
	<p class="block-row-name">?x( ... ):( ... )</p><p class="block-row-description">if x is defined then ... else ... ; x can be u, m, t, s, d, D, A, U or N</p><br/>
	<p class="block-row-name">?x:( ... )       </p><p class="block-row-description">if x is undefined then ... ; x can be u, m, t, s, d, D, A, U or N       </p><br/>

	<h2>Examples:</h2>

	<p>
		<i>"C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe"</i> must be escaped like this: <i>"C<b>%</b>:\Program Files <b>%</b>(x86<b>%</b>)\Windows Kits\8.0\Debuggers\x64\windbg.exe"</i>.
	</p>

	<p>
		<i>"%ProgramFiles(x86)%\Windows Kits\8.0\Debuggers\x64\windbg.exe"</i> must be escaped like this: <i>"<b>%</b>%ProgramFiles<b>%</b>(x86<b>%</b>)<b>%</b>%\Windows Kits\8.0\Debuggers\x64\windbg.exe"</i>.
	</p>

</body>

</html>